networking.wg-quick.interfaces.<name>.peers.*.endpoint

Endpoint IP or hostname of the peer, followed by a colon, and then a port number of the peer.

Type
null or string
Default
null
Example
"demo.wireguard.io:12913"
Declared
<nixpkgs/nixos/modules/services/networking/wg-quick.nix>